<style>
<!--
body {
    font-family: Arial;
    font-size: 12px;
    margin: 0;
    text-align: center;
}
-->
</style>
<{foreach from=$results item=product name=results}>
	<{if isset($product.ws_code) && $product.ws_code!='' }>
		<div style="width:5cm;height:1.2cm; text-algin:center;overflow:hidden;padding-top:10px;">
			<div style="width:100%;text-align:center;overflow:hidden;height:17px;"><{$product.ws_code}></div>
			<div style="width:100%;text-align:center;overflow:hidden;height:17px;"><{$product.customer_id}>-<{$product.product_sku}></div>
		</div>
    <div class="contentBottom" style="page-break-after:always"></div>
    <{/if}>
        <div style="width:5cm;height:2cm; text-algin:center;overflow:hidden;">
			<div style="height:0.1cm"></div>	
			<div style="height:1cm;overflow:hidden;width:100%;text-align:center">
			<img src="/product/product/barcode?code=<{$product.customer_id}><{$product.product_sku}>" style="width:5.2cm;margin-left:0cm;"/></div>
			<div style="width:100%;text-align:center;overflow:hidden;height:17px;"><{$product.customer_id}>-<{$product.product_sku}></div>
			<div style="display:inline-block;*display:inline;zoom:1;width:1.2cm;text-align:right;overflow:hidden;height:17px;"><{$product.customer_id}></div>
			<div style="display:inline-block;width:3.7cm;*display:inline;zoom:1;text-align:right;overflow:hidden;height:17px;"><{$product.category}></div>
		</div>

		<div class="contentBottom" style="<{if !$smarty.foreach.results.last}>page-break-after:always<{/if}>"></div>
<{/foreach}>

